//
//  UIView+YXView.m
//  彩票
//
//  Created by mac on 15-3-30.
//  Copyright (c) 2015年 mac. All rights reserved.
//

#import "UIView+YXView.h"

@implementation UIView (YXView)

- (void)setX:(CGFloat)X
{
    CGRect rectFrame = self.frame;
    rectFrame.origin.x = X;
    self.frame = rectFrame;
}

- (CGFloat)X
{
    return self.frame.origin.x;
}

@end
